<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="jQuery/jquery.js"></script>
    <script src="jQuery/jquery-ui.min.js"></script>
    <link rel="stylesheet" href="jQuery/jquery-ui.min.css"/>
</head>
<body>
    <strong>请给出你的选项？</strong>
    <ul id="select">
        <li>A.我</li>
        <li>B.他</li>
        <li id="right">C.你</li>
    </ul>
    <a href="#" id="myA">提交</a>
</body>
<script>
    $(document).ready(function (){
        $("#myA").button();
        $("#select").selectable();
        $("#myA").on("click",function (){
            if($("#right").hasClass("ui-selected")){
                alert("恭喜你回答正确");
            }
        })
    });
</script>
</html>